﻿using System;
using System.Windows;
using System.Windows.Controls;


namespace SynergyControls
{
    /// <summary>
    /// A control that references its "layoutroot", usually a grid or canvas, from a corresponding markup.
    /// </summary>
    public abstract class ControlBase : Control
    {        

        public FrameworkElement ResourceRoot
        {
            get { return GetTemplateChild("LayoutRoot") as FrameworkElement; }
        }
        
    }
}
